package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * L2VPN一源两宿故障检测OAM对象 busi_l2_vpn_alarmoam
 * 
 * @author tony
 * @date 2025-02-22
 */
public class BusiL2VpnAlarmoam extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private String id;

    /**
     * L2VPN业务主键
     */
    @Excel(name = "L2VPN业务主键")
    @ApiModelProperty(value = "L2VPN业务主键")
    private String l2VpnId;

    /**
     * 路径类型
     */
    @Excel(name = "路径类型")
    @ApiModelProperty(value = "路径类型，工作、保护")
    private String routeType;

    /**
     * 网元id
     */
    @Excel(name = "网元id")
    @ApiModelProperty(value = "网元id")
    private String elementId;

    private String elementName;

    /**
     * oam_id 自增
     */
    @Excel(name = "oam_id 自增")
    @ApiModelProperty(value = "oam_id 自增")
    private String oamId;

    /**
     * mp类型
     */
    @Excel(name = "mp类型")
    @ApiModelProperty(value = "mp类型")
    private String mpType;

    /**
     * LSP TTL/EXP
     */
    @Excel(name = "LSP TTL/EXP")
    @ApiModelProperty(value = "LSP TTL/EXP")
    private String lspTtl;

    /**
     * MEG信息icc/ umc/ mep /remote mep/level 123456/789ABC/2/1/7
     */
    @Excel(name = "MEG信息icc/ umc/ mep /remote mep/level 123456/789ABC/2/1/7")
    @ApiModelProperty(value = "MEG信息icc/ umc/ mep /remote mep/level 123456/789ABC/2/1/7")
    private String meg;

    /**
     * APS帧率
     */
    @Excel(name = "APS帧率")
    @ApiModelProperty(value = "APS帧率")
    private String aps;

    /**
     * CV帧
     */
    @Excel(name = "CV帧")
    @ApiModelProperty(value = "CV帧")
    private String cv;

    /**
     * CSF帧
     */
    @Excel(name = "CSF帧")
    @ApiModelProperty(value = "CSF帧")
    private String csf;

    /**
     * FDI帧
     */
    @Excel(name = "FDI帧")
    @ApiModelProperty(value = "FDI帧")
    private String fdi;

    /**
     * tunnel名称
     */
    @Excel(name = "tunnel名称")
    @ApiModelProperty(value = "tunnel名称")
    private String tunnelName;

    /**
     * 节点类型
     */
    @Excel(name = "节点类型")
    @ApiModelProperty(value = "节点类型")
    private String nodeType;

    /**
     * meg名称
     */
    @Excel(name = "meg名称")
    @ApiModelProperty(value = "meg名称")
    private String megName;

    /**
     * me名称
     */
    @Excel(name = "me名称")
    @ApiModelProperty(value = "me名称")
    private String meName;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setL2VpnId(String l2VpnId) {
        this.l2VpnId = l2VpnId;
    }

    public String getL2VpnId() {
        return l2VpnId;
    }

    public void setElementId(String elementId) {
        this.elementId = elementId;
    }

    public String getElementId() {
        return elementId;
    }

    public void setOamId(String oamId) {
        this.oamId = oamId;
    }

    public String getOamId() {
        return oamId;
    }

    public void setMpType(String mpType) {
        this.mpType = mpType;
    }

    public String getMpType() {
        return mpType;
    }

    public void setLspTtl(String lspTtl) {
        this.lspTtl = lspTtl;
    }

    public String getLspTtl() {
        return lspTtl;
    }

    public void setMeg(String meg) {
        this.meg = meg;
    }

    public String getMeg() {
        return meg;
    }

    public void setAps(String aps) {
        this.aps = aps;
    }

    public String getAps() {
        return aps;
    }

    public void setCv(String cv) {
        this.cv = cv;
    }

    public String getCv() {
        return cv;
    }

    public void setCsf(String csf) {
        this.csf = csf;
    }

    public String getCsf() {
        return csf;
    }

    public void setFdi(String fdi) {
        this.fdi = fdi;
    }

    public String getFdi() {
        return fdi;
    }

    public void setTunnelName(String tunnelName) {
        this.tunnelName = tunnelName;
    }

    public String getTunnelName() {
        return tunnelName;
    }

    public void setNodeType(String nodeType) {
        this.nodeType = nodeType;
    }

    public String getNodeType() {
        return nodeType;
    }

    public void setMegName(String megName) {
        this.megName = megName;
    }

    public String getMegName() {
        return megName;
    }

    public void setMeName(String meName) {
        this.meName = meName;
    }

    public String getMeName() {
        return meName;
    }

    public String getRouteType() {
        return routeType;
    }

    public void setRouteType(String routeType) {
        this.routeType = routeType;
    }

    public String getElementName() {
        return elementName;
    }

    public void setElementName(String elementName) {
        this.elementName = elementName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("l2VpnId", getL2VpnId())
                .append("routeType", getRouteType())
                .append("elementId", getElementId())
                .append("elementName", getElementName())
                .append("oamId", getOamId())
                .append("mpType", getMpType())
                .append("lspTtl", getLspTtl())
                .append("meg", getMeg())
                .append("aps", getAps())
                .append("cv", getCv())
                .append("csf", getCsf())
                .append("fdi", getFdi())
                .append("tunnelName", getTunnelName())
                .append("nodeType", getNodeType())
                .append("megName", getMegName())
                .append("meName", getMeName())
                .toString();
    }
}